import request  from '../util/request'

export default {
	getUserAttendanceInfo(params) {
		return request({
			url: 'master/getCheckInRecordsByPhone',
			method: 'GET',
			data: params
		})
	},
	validUser(data) {
		return request({
			// url: 'http://192.168.1.237:7326/api/staffEntry/validUser',
			url: 'auth/api/staffEntry/validUser',
			// url: 'http://localhost:7326/api/staffEntry/validUser',
			method: 'POST',
			data
		})
	}
}